#ifndef __PCF859_H__
#define __PCF859_H__

#include "config.h" 
#define u8 unsigned char
#define Write 0X64
#define Read  0X65

sbit RX8025SCL = P1^5;
sbit RX8025SDA = P1^4;

extern u8 xdata RX8025TimeBuffH[];	
extern u8 xdata RX8025TImeBuffB[];	
void Write_RX8025_Byt(u8 add,u8 dat);
u8  HEXtoBCD(u8 Hex);
void Read_RX8025_Dat(u8 add, u8 Num);
void Write_RX8025_Byte(u8 add,u8 *Buff);
void RX8025_Init();

#endif